package Demo02.Demo05;

public class Demo_divisionmethod implements Demo_Compute {
    @Override
    public int computer(int n, int m) {
        if(m == 0)
        {
            System.out.println("分母为空！！！");
            return 0;
        }
        else
        {
            return n / m;
        }
    }
}



